]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
st-scroll-bar: Fix build warnings
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 1 Aug 2012 15:36:16 +0000 (17:36 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 1 Aug 2012 15:38:45 +0000 (17:38 +0200)
Introduced by commit aa120e09020

src/st/st-scroll-bar.c

index 172d4a84e0fb92d0ce5b9310944c99e20c859b5b..b7d1bb5833a11b7a130dec4ebd66bedd11f1a12a 100644 (file)
@@ -591,7 +591,7 @@ stop_scrolling (StScrollBar *bar)
   if (!bar->priv->capture_handler)
     return;
 
-  st_widget_remove_style_pseudo_class (bar->priv->handle, "active");
+  st_widget_remove_style_pseudo_class (ST_WIDGET (bar->priv->handle), "active");
 
   stage = CLUTTER_STAGE (clutter_actor_get_stage (bar->priv->trough));
   g_signal_handler_disconnect (stage, bar->priv->capture_handler);
@@ -653,7 +653,7 @@ handle_button_press_event_cb (ClutterActor       *actor,
                                             &priv->y_origin))
     return FALSE;
 
-  st_widget_add_style_pseudo_class (priv->handle, "active");
+  st_widget_add_style_pseudo_class (ST_WIDGET (priv->handle), "active");
 
   /* Account for the scrollbar-trough-handle nesting. */
   priv->x_origin += clutter_actor_get_x (priv->trough);